Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference
Chapter 5 - Objects and References / Reference Forms


Arbitrary Element

The Arbitrary Element reference form specifies an arbitrary object in a container. If the container is a value (such as a list), AppleScript chooses
an object at random (that is, it uses a random-number generator to choose
the object). If the container is an application object, it is up to the application
to choose an object. It can choose a random object or any object at all.

SYNTAX
some className 
where

className is the class identifier for the desired object.

EXAMPLES
some word of paragraph 5
some word whose style contains outline

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996